<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<html>
<head>
    <title>学员流失</title>

    <!--引入公共的easyui文件头-->
    <%@include file="/WEB-INF/views/commons/common_easyui.jsp"%>

    <script type="text/javascript" src="/static/js/system/leaveStudent.js"></script>
</head>
<body>

<!--begin信息列表-->
<table id="leaveStudent_datagrid"></table>
<!--end信息列表-->

<!--begin左上角工具栏-->
<div id="leaveStudent_tb">
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="watch">查看</a>
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="reload">刷新</a>

    <shiro:hasPermission name="leaveStudent:changeState">
         <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-remove" plain="true"
       id="changeStatus_btn"
       data-cmd="changeState">审核</a>
    </shiro:hasPermission>
    <input class="easyui-textbox" style="width: 120px" prompt="关键字:姓名/电话" name="keywords" id="keywords"/>
    <input class="easyui-combobox" style="width: 120px"  name="geade" id="geade"  prompt="请选择班级"
           data-options=" url:'/grade/listAll',
                                        valueField: 'id',
                                        textField: 'name'"
    />
    转学时间: <input type="text" class="easyui-datebox" id="beginDate" name="beginDate" prompt="请输入开始时间"/> -
    <input type="text" class="easyui-datebox" id="endDate" name="endDate" prompt="请输入结束时间"/>

    <a class="easyui-linkbutton" data-options="toggle:false,plain:true" iconCls="icon-search" id="searching" data-cmd="query">查询</a>

</div>
<!--end左上角工具栏-->

<!--begin添加/编辑对话框-->
<div id="leaveStudent_dialog" align="center">
    <form id="leaveStudent_form" method="post">
        <table style="margin-top: 20px;">
            <input type="hidden" name="id" id="leaveStudentId">
            <tr>
                <td>用户名</td>
                <td><input class="easyui-textbox" name="professionalStudent.name"></td>
                <td>QQ</td>
                <td><input class="easyui-textbox" name="professionalStudent.qq"></td>
            </tr>
            <tr>
                <td>电话</td>
                <td><input class="easyui-textbox" name="professionalStudent.tell"></td>
                <td>上课天数</td>
                <td><input class="easyui-textbox" name="schooltime"></td>
            </tr>
            <tr>
                <td>流失班级</td>
                <td><input class="easyui-textbox" name="grade.name"></td>
                <td>流失阶段</td>
                <td><input class="easyui-textbox" name="lostState" data-options="data: [{
                        label: '基础班',
                        value: '0'
                    },{
                        label: '大神班',
                        value: '1'
                    }], textField:'label',valueField:'value',panelHeight:'auto'"></td>
            </tr>
            <tr>
                <td>流失原因</td>
                <td><input class="easyui-textbox" name="leavereasion"></td>
                <td>流失时间</td>
                <td><input class="easyui-textbox" name="refunddate"></td>
            </tr>
            <tr>
                <td>经办人</td>
                <td><input class="easyui-textbox" name="auditoruser.username"></td>
                <td>营销人员</td>
                <td><input class="easyui-textbox" name="marketer.username"></td>
            </tr>
            <tr>
                <td>录入人</td>
                <td><input class="easyui-textbox" name="inputuser.username"></td>

            </tr>
        </table>
    </form>
</div>
<!--end添加/编辑对话框-->

<!--begin添加/编辑对话框底部按钮-->
<div id="leaveStudent_bb">
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
</div>
<!--end添加/编辑对话框底部按钮-->

</body>
</html>
